package com.study.javaOther.fingerguessing.participation;

import java.util.Scanner;

/**
 * @author WS
 */
public class CommonPlayer extends Player {

    public CommonPlayer(String name) {
        super(name);
    }

    @Override
    public int play() {
        System.out.println("请输入你的猜拳:0:石头\t1:剪刀\t2:布");
        Scanner sc = new Scanner(System.in);
        int i = sc.nextInt();
        return i;
    }
}
